require('babel-register');
require('./server')

process.on('uncaughtException', (err) => {
    console.log('错误:',err)
});
process.on('unhandledRejection', (reason, p) => {
    console.log('警告:', p, 'reason:', reason);
});